Xceed .NET Libraries Documentation
Xceed.Compression Assembly / Xceed.Compression Namespace / QuickCompression Class / Compress Method / Compress(Byte[],Int32) Method


In This Topic
    Compress(Byte[],Int32) Method
    In This Topic
    Syntax
    'Declaration
     
    Public Overloads Shared Function Compress( _
       ByVal buffer() As Byte, _
       ByRef compressedSize As Integer _
    ) As Byte()
    'Usage
     
    Dim buffer() As Byte
    Dim compressedSize As Integer
    Dim value() As Byte
     
    value = QuickCompression.Compress(buffer, compressedSize)
    public static byte[] Compress( 
       byte[] buffer,
       out int compressedSize
    )

    Parameters

    buffer
    compressedSize
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also